home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / ease-3.5 / src / fixstrings.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-16  |  1.0 KB  |  45 lines

  1. /*
  2.  * $Revision: 3.2 $
  3.  * Check-in $Date: 1991/05/16 10:45:25 $
  4.  * $State: Exp $
  5.  *
  6.  * $Author: barnett $
  7.  *
  8.  * $Log: fixstrings.h,v $
  9.  * Revision 3.2  1991/05/16  10:45:25  barnett
  10.  * Better support for System V machines
  11.  * Support for machines with read only text segments
  12.  *
  13.  * Revision 3.1  1991/02/25  22:09:52  barnett
  14.  * Fixed some portability problems
  15.  *
  16.  * Revision 2.1  1990/01/30  14:28:33  jeff
  17.  * Bring RCS version number in line with netwide version 2.1.  No code
  18.  * changes.
  19.  *
  20.  * Revision 2.0  88/06/15  14:41:57  root
  21.  * Baseline release for net posting. ADR.
  22.  */
  23.  
  24. /* FLUKE jps 16-apr-86 - revector the string routines to custom-coded ones
  25.  *  which handle NULL pointers.
  26.  */
  27. #ifdef SYSV
  28. #define strchr Xindex
  29. #define strrchr Xrindex
  30. #else
  31. #define index Xindex
  32. #define rindex Xrindex
  33. #endif
  34. #define strcat    Xstrcat
  35. #define strncat    Xstrncat
  36. #define strcmp    Xstrcmp
  37. #define strncmp    Xstrncmp
  38. #define strcpy    Xstrcpy
  39. #define strncpy    Xstrncpy
  40. #define strlen    Xstrlen
  41.  
  42. extern char *Xstrcpy();
  43. extern char *Xindex();
  44. extern char *Xstrcat();
  45.